﻿<navigation:Page x:Class="Arch.Samples.RiaServices.Views.Todos.TodoList" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:local="clr-namespace:Arch.Samples.RiaServices.Controls"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:tk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" 
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
    d:DesignWidth="640" d:DesignHeight="480" 
    Title="Todos">

    <local:BusyIndicator x:Name="busyIndicator" IsBusy="{Binding Context.IsBusy}">
        <tk:DockPanel x:Name="LayoutRoot">
            <ContentControl tk:DockPanel.Dock="Top" ContentTemplate="{StaticResource AdminButtons}" Content="{Binding}" />
            <ContentControl ContentTemplate="{StaticResource ReadOnlyGrid}" Content="{Binding}" />
        </tk:DockPanel>
    </local:BusyIndicator>
</navigation:Page>


